package com.sfzd5.exam.helplibrary.taskstatisitcs;

import com.sfzd5.modle.Question;

public class QuestionInfo{
    //public String content;
    public int overCount;
    public int rightCount;
    public String difficult;
    public Question q;
    public int otherCount;
    public String answer;

    public float getRate(){
        if(overCount>0){
            return ((float)rightCount)/overCount;
        } else {
            return 0;
        }
    }
}